package cn.nexd.app.collector.presenter.db;

import android.provider.BaseColumns;

/**
 * Created by xun on 2016/8/3.
 */
public class TableContract {
    public TableContract() {
    }

    public abstract class User implements BaseColumns {
        public static final String TABLE_NAME = "user";
        public static final String COLUMN_NAME_ID = "_id";
        public static final String COLUMN_NAME_USERNAME = "userName";
        public static final String COLUMN_NAME_USEREMAIL = "userEmail";
        public static final String COLUMN_NAME_USERPASSWORD = "userPassword";

    }

    public abstract class Building implements BaseColumns {
        public static final String TABLE_NAME = "building";
        public static final String COLUMN_BUILDING_CODE = "mallId";
        public static final String COLUMN_BUILDING_NAME = "mallName";
        public static final String COLUMN_BUILDING_NAME_PY = "mallNamePy";
        public static final String COLUMN_CITY_NAME = "cityName";
        public static final String COLUMN_CITY_NAME_PY = "cityNamePy";
    }

    public abstract class City implements BaseColumns {
        public static final String TABLE_NAME = "city";
        public static final String COLUMN_CITY_NAME = "cityName";
        public static final String COLUMN_CITY_NAME_PY = "cityNamePy";
    }

    public class Record implements BaseColumns {
        public static final String TABLE_NAME = "record";
        public static final String COLUMN_NAME_USEREMAIL = "userEmail";
        public static final String COLUMN_NAME_ISREMEMBER = "isRemember";
    }

    public class IOS implements BaseColumns {
        public static final String TABLE_NAME = "ios";
        public static final String COLUMN_MAC_ADDRESS = "macAddress";
        public static final String COLUMN_UUID = "UUID";
        public static final String COLUMN_MAJOR = "Major";
        public static final String COLUMN_MINOR = "Minor";
    }

    public class FloorLayer implements BaseColumns {
        public static final String TABLE_NAME = "floor";
        public static final String FLOOR_LAYER = "floor_layer";
        public static final String FLOOR_ID = "floor_id";
        public static final String FLOOR_NAME = "floor_name";
        public static final String MALL_ID = "mall_id";
    }

}
